// internal/dao/schema/customer_one_touch_video_task_info.go
package schema

import "time"

// CustomerOneTouchVideoTaskInfo AI 成片-info表
type CustomerOneTouchVideoTaskInfo struct {
	ID                          int64     `json:"id" gorm:"id"`
	CustomerOneTouchVideoTaskId int64     `json:"customer_one_touch_video_task_id" gorm:"customer_one_touch_video_task_id"`
	MultipleAccounts            string    `json:"multiple_accounts" gorm:"multiple_accounts"`
	MultiplePlatform            string    `json:"multiple_platform" gorm:"multiple_platform"`
	VideoUrl                    string    `json:"video_url" gorm:"video_url"`
	PublishedTime               time.Time `json:"published_time" gorm:"published_time"`
	Title                       string    `json:"title" gorm:"title"`
	Tag                         string    `json:"tag" gorm:"tag"`
	Status                      int8      `json:"status" gorm:"status"`
	Captions                    string    `json:"captions" gorm:"captions"`
	DouYinCollectionId          string    `json:"dou_yin_collection_id" gorm:"dou_yin_collection_id"`
	DouYinPoiId                 int64     `json:"dou_yin_poi_id" gorm:"dou_yin_poi_id"`
	DouMiniAppId                int64     `json:"dou_mini_app_id" gorm:"dou_mini_app_id"`
	YuYueId                     string    `json:"yu_yue_id" gorm:"yu_yue_id"`
	CreatedAt                   time.Time `json:"created_at" gorm:"created_at"`
	UpdatedAt                   time.Time `json:"updated_at" gorm:"updated_at"`
	CoverUrl                    string    `json:"cover_url" gorm:"cover_url"`
	Data                        string    `json:"data" gorm:"data"`
	JobId                       string    `json:"job_id" gorm:"job_id"`
	MediaId                     string    `json:"media_id" gorm:"media_id"`
	ProjectId                   string    `json:"project_id" gorm:"project_id"`
	RequestId                   string    `json:"request_id" gorm:"request_id"`
	PublishSetting              string    `json:"publish_setting" gorm:"publish_setting"` // 发布设置
}

// TableName 表名称
func (*CustomerOneTouchVideoTaskInfo) TableName() string {
	return "customer_one_touch_video_task_info"
}
